<!DOCTYPE html>
<html lang="en">
<head th:insert="/admin/common/head::css"></head>
<body>
<div th:insert="/admin/common/header::header" ></div>
<!--  main  -->
<div class="container-fluid">
  <div class="row-fluid">
    <div th:insert="/admin/common/side::side" ></div>
    <!-- content -->

    <div style="display: flex; flex-direction: column">
      <div class="span10" id="content">
        <div class="row-fluid">
          <!-- block -->
          <div class="block">
            <div class="block-content collapse in">
              <div class="span12">
                <table class="table">
                  <thead>
                  <tr>
                    <th>序号</th>
                    <th>提交人</th>
                    <th>任职单位</th>
                    <th>职称</th>
                  </tr>
                  </thead>
                  <tbody>
                  <tr th:each = "shenhe : ${shenhes}">
                    <td th:text="${shenhe.id}"></td>
                    <td th:text="${shenhe.user.username}"></td>
                    <td th:text="${shenhe.renzhidanwei}"></td>
                    <td th:text="${shenhe.zhicheng}"></td>
                    <td>
                      <!--            //这样可以拿到对应数据-->
                      <a class="btn btn-default" th:href="@{/admin/shenhe/btn(id = ${shenhe.id})}" role="button">审核</a>
                      <a class="btn btn-default" th:href="@{/admin/shenhe/reject(id = ${shenhe.id})}" role="button">拒绝</a>
                    </td>
                  </tr>
                  </tbody>
                </table>
              </div>
            </div>
          </div>
          <!-- /block -->
        </div>
      </div>
    </div>


          <!-- /block -->
      </div>
    </div>
    <!-- content -->
  </div>
</div>
<!--  main  -->
</body>
<div th:insert="/admin/common/footer::js" ></div>

</html>